﻿using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace CBS.Desktop.FormPage
{
    /// <summary>
    /// ImportClassPlan.xaml 的交互逻辑
    /// </summary>
    public partial class ImportClassPlan : Window
    {
        public ImportClassPlan()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {

        }

        private void Hyperlink_Click(object sender, RoutedEventArgs e)
        {

        }

        private void btn_ChooseFile_Click(object sender, RoutedEventArgs e)
        {
            FileDialog dlg = new OpenFileDialog
            {
                Filter = "*.xls,*.xlsx|*.xls;*.xlsx"
            };
            var result = dlg.ShowDialog();
            if (result.HasValue && result.Value)
            {
                tb_ChooseFile.Text = dlg.FileName;
            }
        }
    }
}
